package uk.org.aspellclark.gedcom.model.records;

import java.util.List;

import uk.org.aspellclark.gedcom.model.ChangeDate;
import uk.org.aspellclark.gedcom.model.UserReference;
import uk.org.aspellclark.gedcom.model.structures.AddressStructure;
import uk.org.aspellclark.gedcom.model.structures.NoteStructure;

/** <pre>REPOSITORY_RECORD:= 
    n @&lt;XREF:REPO>@ REPO                  {1:1}
        +1 NAME &lt;NAME_OF_REPOSITORY>      {1:1}
        +1 &lt;&lt;ADDRESS_STRUCTURE>>          {0:1}
        +1 &lt;&lt;NOTE_STRUCTURE>>             {0:M}
        +1 REFN &lt;USER_REFERENCE_NUMBER>   {0:M}
            +2 TYPE &lt;USER_REFERENCE_TYPE> {0:1}
        +1 RIN &lt;AUTOMATED_RECORD_ID>      {0:1}
        +1 &lt;&lt;CHANGE_DATE>>                {0:1}</pre>
 */
public class RepositoryRecord extends GedcomRecord {

	public String name;
	public AddressStructure address;
	public List<NoteStructure> notes;
	public List<UserReference> refn;

	public String rin;
	public ChangeDate changeDate;

	/**
	 * @param idFromString
	 */
	public RepositoryRecord(String idFromString) {
		this.xref = idFromString;
	}
}
